package com.leiting.mail.util.properties.factory;

import com.leiting.mail.util.properties.factory.builder.MailPop3StorePropertiesBuilder;
import com.leiting.mail.util.properties.factory.builder.MailSmtpSSLStorePropertiesBuilder;

import java.util.Properties;


public class DefaultMailReaderPropertiesFactory implements MailReaderPropertiesFactory {

    public Properties getPop3StoreProperties(String serverHost) {
        return MailPop3StorePropertiesBuilder.build(serverHost);
    }

    public Properties getSmtpSSLStoreProperties(String serverHost) {
        return MailSmtpSSLStorePropertiesBuilder.build(serverHost);
    }
}
